$:.unshift '../lib'
require 'rubygems'
require 'rake'

spec = Gem::Specification.new do |s|
  s.name = 'rails-app-installer'
  s.version = "0.1.3"
  s.authors = ["Scott Laird"]
  s.email = "scott@sigkill.org"
  s.homepage = "http://scottstuff.net"
  s.platform = Gem::Platform::RUBY
  s.summary = "An installer for Rails apps"
  s.description = ""
  s.files = FileList['lib/*', 'examples/*', 'README']
  s.has_rdoc = true
  s.extra_rdoc_files = FileList['README', 'lib/rails-installer/*']
  s.rdoc_options << '--main' << 'RailsInstaller'
  s.add_dependency("mongrel", ">= 0.3.13.3")
  s.add_dependency("mongrel_cluster", ">= 0.2.0")
  s.add_dependency("sqlite3-ruby", ">= 1.1.0")
  s.autorequire = 'rails-installer'
end

if $0==__FILE__
  Gem::manage_gems
  Gem::Builder.new(spec).build
end

